package com.itheima.service.impl;

import com.itheima.mapper.HmSubjectsTagsMapper;
import com.itheima.pojo.HmSubjectsTags;
import com.itheima.service.DisciplineManagementService;
import com.itheima.util.R;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DisciplineManagementServiceImpl implements DisciplineManagementService {
    @Autowired
    private HmSubjectsTagsMapper hmSubjectsTagsMapper;
    //添加科学馆管理标签
    @Override
    public R addById(HmSubjectsTags hmSubjectsTags) {
        System.out.println("==============="+hmSubjectsTags);
        hmSubjectsTagsMapper.insert(hmSubjectsTags);
        return new R("添加成功");
    }
}
